<%@include file="../context.jsp"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Login</title>
<%@include file="../common_imports.jsp"%>
<body class="site com_login view-login layout-default task- itemid- ">
	<div class="container">
		<div id="content">
			<div id="element-box" class="login well clearfix">
				<img class="img-responsive"
					src="<c:url value="/resources/images/logo.jpg " />" />
				<hr />
				<form:form method="POST" commandName="registedUser"
					action="${pageContext.request.contextPath}/login/login/process.html">
					<fieldset class="loginform">

						<div class="control-group">

							<div class="controls">
								<div class="message_div ">
									<span class="" style="color: #000000;">${message}</span>
								</div>
								<div class="input-prepend input-append">
									<span class="add-on"> <i title=""
										data-original-title="User Name"><img
											src="<c:url value="/resources/images/admin_icon.jpg" />" /></i>
										<label class="element-invisible" for="mod-login-username">
											User Name </label>
									</span>
									<form:input path="userName" class="input-medium" type="text"
										size="15" placeholder="User Name" tabindex="1" />
									<a class="btn width-auto hasTooltip" title="" href="#"
										data-original-title="Forgot your username?"> <i><img
											src="<c:url value="/resources/images/foget_icon.png" />" /></i>
									</a>
								</div>
								<div class="controls">
									<form:errors path="userName" cssClass="error"></form:errors>
								</div>
							</div>
						</div>
						<div class="control-group">
							<div class="controls">
								<div class="input-prepend input-append">
									<span class="add-on"> <i title=""
										data-original-title="Password"><img
											src="<c:url value="/resources/images/password_icon.jpg" />" /></i>
										<label class="element-invisible" for="mod-login-password">
											Password </label>
									</span>
									<form:password path="password" class="input-medium" size="15"
										placeholder="Password" tabindex="2" />
									<a class="btn width-auto hasTooltip" title="" href="#"
										data-original-title="Forgot your username?"> <i><img
											src="<c:url value="/resources/images/foget_icon.png" />" /></i>
									</a>
								</div>
							</div>
						</div>
						<div class="control-group">
							<div class="controls">
								<ul class="loginBtn_ul">
									<li><button class="btn btn-primary btn-large">
											<img src="<c:url value="/resources/images/btn_icon.jpg" />" />Log
											in
										</button></li>
									<li><a href="/StockScreener/user/add.html">Register</a></li>
									<li><a href="/StockScreener/">Home</a></li>
								</ul>
							</div>
						</div>
					</fieldset>
				</form:form>
			</div>
		</div>
	</div>
</body>
</html>